package com.zhuoshi.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhuoshi.bean.CustomerQuery;
import com.zhuoshi.bean.WdHtCustomer;
import com.zhuoshi.mapper.WdHtCustomerMapper;
import com.zhuoshi.service.WdHtCustomerService;
@Service
public class WdHtCustomerServiceImpl implements WdHtCustomerService {
	@Autowired
	private WdHtCustomerMapper mapper;
	/**
	 * 查询全部
	 * 模糊查询
	 */
	@Override
	public List<WdHtCustomer> getlist(CustomerQuery bean) {
		return mapper.getlist(bean);
	}
	@Override
	public int deleteByPrimaryKey(String customerId) {
		return mapper.deleteByPrimaryKey(customerId);
	}
	@Override
	public int insert(WdHtCustomer record) {
		return mapper.insert(record);
	}
	@Override
	public int insertSelective(WdHtCustomer record) {
		return mapper.insertSelective(record);
	}
	@Override
	public WdHtCustomer selectByPrimaryKey(String customerId) {
		return mapper.selectByPrimaryKey(customerId);
	}
	@Override
	public int updateByPrimaryKeySelective(WdHtCustomer record) {
		return  mapper.updateByPrimaryKeySelective(record);
	}
	@Override
	public int updateByPrimaryKey(WdHtCustomer record) {
		return  mapper.updateByPrimaryKey(record);
	}
	

}
